package com.agent.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Spring AI Agent Platform 主应用
 *
 * 功能特性:
 * - 多租户Agent管理
 * - 双端口API (业务端口3000, 管理端口3001)
 * - Spring AI集成 (OpenAI/Anthropic)
 * - WebFlux响应式架构
 * - Actuator监控
 */
@SpringBootApplication
@EnableAsync
public class AgentPlatformApplication {

    public static void main(String[] args) {
        System.out.println("🚀 Initializing Spring AI Agent Platform...");
        SpringApplication.run(AgentPlatformApplication.class, args);
        System.out.println("✅ Agent Platform initialized successfully!");
        System.out.println("📡 Business API: http://localhost:3000");
        System.out.println("⚙️  Admin API & Actuator: http://localhost:3001");
    }
}
